 $(function  () {
	 var num = 1;
	 var arr = ['#FFEEE0','#FFFFFF','#2B2B33','#171717','#BBBFCA','#F5F0ED'];

	  function run () {
	  	$('.ima_1').eq(num).fadeIn("slow").siblings().fadeOut("slow");
        $('.certain').css("background-color",arr[num+1]).fadeIn("slow");
		if(num == $('.ima_1').length){
	  		num=0;
	  	}else{
	  		num++;
	 	}
	  }

	var time = setInterval(run,1000);

	// $('#ima').hover(function() {
	// 	clearInterval(time);
	// }, function() {
	// 	time = setInterval(run,1000);
	// });





// ------------------------------------------------------------------------------------------------

 	$('.image_1 a').mouseover(function() {
 	  $(this).find("img").stop(true,true).animate({ 
	    width: "190px",
	    height: "190px", 
 	 
  }, 200 );

 	 });

$('.image_1 a').mouseleave(function() {
 	 $(this).find("img").animate({ 
	    width: "180px",
	    height: "180px", 
 	 	
  }, 200 );

 	 });
// -----------------------------------------------------------------------------------------

$('.yangshi a').mouseover(function() {
 	  $(this).find("img").stop(true,true).animate({ 
	    width: "190px",
	    height: "190px", 
 	 
  }, 200 );

 	 });

$('.yangshi a').mouseleave(function() {
 	 $(this).find("img").animate({ 
	    width: "180px",
	    height: "180px", 
 	 	
  }, 200 );

 	 });

// --------------------------------------------------------------------------------------------------



	$(".daohang li").hover(function() {
 		$(this).children(".daohang_s").stop(true,true).show();
 	}, function() {
 		$(this).children(".daohang_s").delay(500).hide();
 	});
	
 })